#include "dispenser.h"

namespace GASPUMP
{

	dispenser::dispenser(void)
	{

	}

	dispenser::status dispenser::operON (void)
	{
		m_status = ON;
		return	m_status;		
	}

	dispenser::status dispenser::operOFF (void)
	{
		m_status = OFF;
		return	m_status;
	}

	dispenser::status dispenser:: operMAINT (void)
	{
		m_status = MAINT;
		crtl.maintloop();
		return	m_status;	
	}

	dispenser::status dispenser::operRESUP (void)
	{
		m_status = RESUP;
		crtl.resuploop();
		return	m_status;	
	}
	void dispenser::execute()
	{
		
		crtl.userloop();

	}

	dispenser::~dispenser(void)
	{
	}

}